package com.fxp.project.jiuselu.web.models.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fxp.project.jiuselu.web.models.order.entity.JslOrderGoods;
import com.fxp.project.jiuselu.web.models.order.mapper.JslOrderGoodsMapper;
import com.fxp.project.jiuselu.web.models.order.service.IJslOrderGoodsService;
import net.bytebuddy.asm.Advice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 订单商品明细表 服务实现类
 * </p>
 *
 * @author Jason.Wang
 * @since 2021-11-17
 */
@Service
public class JslOrderGoodsServiceImpl extends ServiceImpl<JslOrderGoodsMapper, JslOrderGoods> implements IJslOrderGoodsService {

    @Autowired
    JslOrderGoodsMapper jslOrderGoodsMapper;

    @Override
    public List<JslOrderGoods> selectOrderGoodsByOrderId(String orderId) {
        return jslOrderGoodsMapper.selectOrderByOrderId(orderId);
    }
}
